var Script = function() {
	$().ready(function() {
		// validate the comment form when it is submitted
		// validate signup form on keyup and submit
		var $addForm = $("#addForm"), $submit = $addForm.find(":submit");
		$submit.prop("disabled", false);
		$addForm.validate({
			rules: {
				name: "required",
				searchKey: "required"
			},
			messages: {
				name: "请输入游戏名称",
				searchKey: "输入一些关键词"
			}
		});
	});

}();